package com.dahuyou.addtrycatch;

public class LogUtil {
    public static void point(String methodName, Object response) {
        System.out.println("系统监控 :: [方法名称：" + methodName + " 输出信息：" +
                response + "]\r\n");
    }

    public static void point(String methodName, Throwable throwable) {
        System.out.println("系统监控 :: [方法名称：" + methodName + " 异常信息：" +
                throwable.getMessage() + "]\r\n");
    }
}
